package top.tomxwd.springcloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.tomxwd.springcloud.pojo.Dept;

import java.util.List;

/**
 * @author xieweidu
 * @createDate 2020-06-05 22:28
 */
@Mapper
@Repository
public interface DeptMapper {

    boolean addDept(Dept dept);

    Dept queryDeptById(Long id);

    List<Dept> queryAll();

}
